/**
 * Created by afer on 2017/7/10.
 */

function checkLogin() {
    if (!localStorage.sessionID || !localStorage.username) {
        window.location.href="./login.html";
        window.alert(localStorage.sessionID);
    } else {

    }
}

checkLogin();